<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateCommodityStatementsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {   //宝贝报表
        Schema::create('commodity_statements', function (Blueprint $table) {
            $table->increments('id');
            //订单编号
            $table->string('order_num')->nullable();
            //标题
            $table->string('title')->nullable();
            //价格
            $table->string('price')->nullable();
            //购买数量
            $table->string('purchase_quantity')->nullable();
            //外部系统编号
            $table->string('exosystem_num')->nullable();
            //商品属性
            $table->string('commodity_property')->nullable();
            //套餐信息
            $table->string('combo_info')->nullable();
            //备注
            $table->string('remark')->nullable();
            //订单状态
            $table->string('order_status')->nullable();
            //商家编码
            $table->string('shop_num')->nullable();
            // $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('commodity_statements');
    }
}
